
package org.jsets.fastboot.flowable.model.dto;

import java.io.Serializable;
import java.util.List;

import org.jsets.fastboot.flowable.model.entity.CompositeElement;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * 流程模型设置参数对象
 * @author wangjie (https://github.com/wj596)
 * @date 2021.05.07 21:49
 */
@Data
@ToString
@Accessors(chain = true)
public class FlowModelSettingParam implements Serializable  {
	
	private static final long serialVersionUID = 1L;
	
	private String modelId;
	
	@JsonSerialize(using = ToStringSerializer.class)
	private Long formId;
	private String startedWebhook;
	private String completedWebhook;
	private Boolean firstNodeAutoComplete;
	
	//=============非持久化属性=============
	@TableField(exist = false)
	private List<CompositeElement> elements;
}